<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" lang="zh" xml:lang="zh">
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>工具向导: 使用 Rational XDE Developer 构造实施模型</title>
<meta content="ToolMentor" name="uma.type">
<meta content="structuring_the_implementation_model" name="uma.name">
<meta content="使用 Rational XDE Developer 构造实施模型" name="uma.presentationName">
<meta content="Tool:rup_xde:Rational XDE Developer" name="uma.category">
<meta name="element_type" content="tool_mentor">
<meta content="Rational XDE Developer" name="tool">
<meta content="description" name="filetype">
<meta name="role" content="">
<link type="text/css" href="./../../../css/default.css" rel="StyleSheet">
<script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageResource.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageSection.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageSubSection.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageToolbar.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/contentPage.js"></script><script language="JavaScript" type="text/javascript">
					var backPath = './../../../';
					var imgPath = './../../../images/';
					var nodeInfo=[{view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_gpYSoAILEdq-_NKqZM1EhA", "_qS-iwAIOEdqTna4sZVFRow", "{303A82D2-E3AB-4501-8563-0D4D43782AF9}", "{ED12F411-0BE2-4A9D-AF41-07329966116F}"]}, {view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_zRigkAILEdq-_NKqZM1EhA", "_U5tiUAISEdqTna4sZVFRow", "{303A82D2-E3AB-4501-8563-0D4D43782AF9}", "{ED12F411-0BE2-4A9D-AF41-07329966116F}"]}, {view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_AUv4MAIMEdq-_NKqZM1EhA", "_5ZuQsAIUEdqEutyfYo0quQ", "{303A82D2-E3AB-4501-8563-0D4D43782AF9}", "{ED12F411-0BE2-4A9D-AF41-07329966116F}"]}, {view: "view:_FCx1oN7CEdmsEI4YDGX2ag", path: ["_FCx1oN7CEdmsEI4YDGX2ag", "_jD8dUAIbEdqEutyfYo0quQ", "_F1OgYAIbEdqEutyfYo0quQ", "{303A82D2-E3AB-4501-8563-0D4D43782AF9}", "{ED12F411-0BE2-4A9D-AF41-07329966116F}"]}];
					contentPage.preload(imgPath, backPath, nodeInfo,  '', false, false, false);
				</script>
</head>
<body>
<div id="breadcrumbs"></div>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td valign="top"><a name="Top"></a>
<div id="page-guid" value="{ED12F411-0BE2-4A9D-AF41-07329966116F}"></div>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap="true" class="pageTitle">工具向导：使用 Rational XDE Developer 构造实施模型</td><td width="100%">
<div id="contentPageToolbar" align="right"></div>
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td class="pageTitleSeparator"><img height="1" title="" alt="" src="./../../../images/shim.gif"></td>
</tr>
</table>
<div class="overview">
<table cellpadding="0" cellspacing="0" border="0" width="97%">
<tr>
<td width="50"><img title="" alt="" src="./../../../images/toolmentor.gif"></td><td>
<table cellpadding="0" cellspacing="0" border="0" class="overviewTable">
<tr>
<td valign="top">此工具向导描述如何使用 Rational XDE Developer 执行实施模型的构造。</td>
</tr>
<tr>
<td>工具：<a href="./../../../core.base_rup/tools/rup_xde_D81FFA70.html" guid="{303A82D2-E3AB-4501-8563-0D4D43782AF9}">Rational XDE Developer</a></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div class="sectionHeading">关系</div>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr valign="top">
<th scope="row" class="sectionTableHeading">相关元素</th><td class="sectionTableCell">
<ul>
<li>
<a href="./../../../core.base_rup/tasks/structure_implementation_model_E0E0DEF9.html" guid="{35272424-8A0A-4DDD-BA74-C91B80A8D046}">构造实施模型</a>
</li>
</ul>
</td>
</tr>
</table>
</div>
<div class="sectionHeading">主要描述</div>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr valign="top">
<td class="sectionTableSingleCell"><a id="Top" name="Top"></a> 
<h3>
    概述
</h3>
<p>
    此工具向导中的步骤与相应任务中的那些步骤相匹配。对 Rational XDE&trade; 联机帮助中主题的引用以<img height="16" alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif"     width="16" />进行标记。
</p>
<p>
    此工具向导假定您已按照 <a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/whitepapers/model_structure_guidelines_for_rational_xde_developer_6D2FD64A.html" guid="2.67081400527339E-306">Rational XDE 模型构造指南</a> 中的描述定义了实施模型的顶级结构。本工具向导中的步骤允许优化这一初始结构。
</p>
<p>
    在本工具向导中执行以下步骤：
</p>
<ul>
    <li>
        <a href="#Establish the Implementation Model Structure">建立实施模型结构</a>
    </li>
    <li>
        <a href="#Adjust Subsystems">调整实施子系统</a>
    </li>
    <li>
        <a href="#Define Imports for Each Subsystem">为每个实施子系统定义导入</a>
    </li>
    <li>
        <a href="#Decide how to treat executable programs (and other derived objects)">确定如何处理可执行对象（和其他派生对象）</a>
    </li>
    <li>
        <a href="#Decide how to treat test assets">定义如何处理测试资产</a>
    </li>
    <li>
        <a href="#Update the Implementation View">更新实施视图</a>
    </li>
    <li>
        <a href="#Evaluate the implementation model">评估实施模型</a>
    </li>
</ul>
<h3>
    <a id="Establish the Implementation Model Structure" name="Establish the Implementation Model Structure">建立实施模型结构</a>
</h3>
<p>
    确定实施子系统后，可以将它们作为组件图中的包进行建模，以显示子系统之间的依赖关系。这些图定义了<a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/concepts/implementation_view_E373E3B6.html" guid="4.693519701160983E-305">实施视图</a>。要创建它，请执行以下步骤：
</p>
<ol>
    <li>
        浏览到将包含实施子系统的模型和包。（在建议的 <a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/whitepapers/model_structure_guidelines_for_rational_xde_developer_6D2FD64A.html" guid="2.67081400527339E-306">Rational XDE 模型构造指南</a> 中，这是集成支持模型。）
    </li>
    <li>
        创建提供实施子系统概述的组件图。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Adding Diagrams</i>。 
        <!--<script language=javascript>ReferenceHelpTopic("Adding Diagrams","rs","rs_t_add_dgm");</script>   -->
    </li>
    <li>
        为每个实施子系统创建包。（请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Adding Shapes to Diagrams</i>。）
        &nbsp; <!--<script language=javascript>ReferenceHelpTopic(topicTitle,"rs","rs_t_add_shp_dgm"); </script>   -->请注意，在
        Rational XDE 中不对实施子系统进行特定支持，因此该图只是一幅图。
    </li>
    <li>
        （可选）如果在各种代码模型中，这些实施子系统与项目和／或元素之间的关系不明显，则可以创建对设计元素图的可跟踪性。请参阅 <img alt="帮助手册图标"         src="./../../../core.base_rup/resources/helpbook.gif" /><i>Adding Diagrams</i>。 
        <!--<script language=javascript>ReferenceHelpTopic(topicTitle,"rs","rs_t_add_dgm");  </script>     -->
    </li>
</ol>
<p>
    每个项目的代码模型必须按照 <a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/whitepapers/model_structure_guidelines_for_rational_xde_developer_6D2FD64A.html" guid="2.67081400527339E-306">Rational XDE 模型构造指南</a>进行构造。请参阅 <img alt="帮助手册图标"     src="./../../../core.base_rup/resources/helpbook.gif" /> <i>对程序包中的模型元素进行分组。&nbsp;</i> &nbsp; 
    <!--<script language=javascript>ReferenceHelpTopic(topicTitle,"rs","rs_t_group_mod_ele_package"); </script>          -->也可以在文件系统创建目录，以代码创建软件包，同时在模型中创建相应的软件包。<!-- end - vsnet -->
</p>
<h3>
    <a id="Adjust Subsystems" name="Adjust Subsystems">调整实施子系统</a>
</h3>
<p>
    此步骤没有具体的 Rational XDE 指导信息。
</p>
<h3>
    <a id="Define Imports for Each Subsystem" name="Define Imports for Each Subsystem">为每个实施子系统定义导入</a>
</h3>
<p>
    在先前创建的“实施视图”组件图上捕获导入依赖关系。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Adding Dependency
    Relationships</i>。&nbsp; 
    <!--<script language=javascript>ReferenceHelpTopic(topicTitle,"rs","rs_t_add_depend_relshp");</script>           -->请注意，这些依赖关系只向开发人员提供指导信息。Rational
    XDE 并不执行强制或检查。
</p>
<p>
    项目导入应该与这些依赖关系相匹配。
</p><!-- begin - wsw -->
<p>
    要从项目外部定义或修改 JAR 的导入，请在工具栏上单击<b>窗口</b>，单击<b>首选项</b>，然后单击 <b>Java，组织导入</b>。
</p>从项目外部导入称为“引用模型”。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Reference Models</i>。 
<!--<script language=javascript>ReferenceHelpTopic(topicTitle,"vs/modeling_code","vs_c_ref_models"); </script>      -->
<!-- end - vsnet -->
<h3>
    <a id="Decide how to treat executable programs (and other derived objects)" name="Decide how to treat executable programs (and other derived objects)">确定如何处理可执行对象（和其他派生对象）</a>
</h3>
<p>
    可执行程序和其他可部署文件可以建模为 UML 组件。请参阅 <a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/whitepapers/model_structure_guidelines_for_rational_xde_developer_6D2FD64A.html" guid="2.67081400527339E-306">Rational XDE 模型构造指南</a>中的部署支持模型。如果确定对这些文件建模，则应用以下步骤：
</p>
<ol>
    <li>
        浏览到将包含这些文件的模型和包。（在建议的 <a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/whitepapers/model_structure_guidelines_for_rational_xde_developer_6D2FD64A.html" guid="2.67081400527339E-306">Rational XDE 模型构造指南</a>中，这是部署支持模型。）
    </li>
    <li>
        创建组件图。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Adding Diagrams</i>。 
        <!--<script language=javascript>ReferenceHelpTopic(topicTitle,"rs","rs_t_add_dgm"); </script>      -->
    </li>
    <li>
        添加每个可执行程序和其他可部署文件（建模为 UML 组件）。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Adding Shapes
        to Diagrams。</i> <!--//ReferenceHelpTopic(topicTitle,"rs","rs_t_add_shp_dgm");               -->
    </li>
    <li>
        组织到程序包中（如 <a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/whitepapers/model_structure_guidelines_for_rational_xde_developer_6D2FD64A.html" guid="2.67081400527339E-306">Rational XDE 模型构造指南</a>中所述）。请参阅 <img alt="帮助手册图标"         src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Grouping Model Elements in Packages</i>。 
        <!--<script language=javascript>ReferenceHelpTopic(topicTitle,"rs","rs_t_group_mod_ele_package");</script>  -->
    </li>
</ol>
<p>
    请注意，对于可执行程序，没有双向设计支持，因此必须手动维护此模型。
</p>
<h3>
    <a id="Decide how to treat test assets" name="Decide how to treat test assets">确定如何处理测试资产</a>
</h3>
<p>
    此步骤没有具体的 Rational XDE 指导信息。
</p>
<h3>
    <a id="Update the Implementation View" name="Update the Implementation View">更新实施视图</a>
</h3>
<p>
    如果有单独的逻辑视图，必须对它进行维护。请参阅 <a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/whitepapers/model_structure_guidelines_for_rational_xde_developer_6D2FD64A.html" guid="2.67081400527339E-306">Rational XDE 模型构造指南</a>。
</p>
<h3>
    <a id="Evaluate the implementation model" name="Evaluate the implementation model">评估实施模型</a><br />
</h3>
<p>
    此步骤没有具体的 Rational XDE 指导信息。
</p></td>
</tr>
</table>
</div>
<table cellpadding="0" cellspacing="0" border="0" class="copyright">
<tr>
<td class="copyright"><p>
    &copy; &nbsp;Copyright IBM Corp.&nbsp;1987, 2006. &nbsp;All Rights Reserved.
</p></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
<script language="JavaScript" type="text/javascript">
				contentPage.onload();
			</script>
</html>
